/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import main.User;

/**
 *
 * @author xDrake
 */
public class ChatBean extends MainBean {

    @Override
    public boolean isLoad() {
        
        User user = (User)session.getAttribute("userInfo");
        if ( user != null ) {
            if ( user.getID() != 0 ) {
                return true;
            }
        }
        return false;
    }    
}
